package com.example.recruitment.service;

import com.example.recruitment.entity.Job;
import java.util.List;

public interface JobService {
    List<Job> findAll();
    
    List<Job> findAll(Job query);
    
    Job findById(Long id);
    
    List<Job> findByDepartment(String department);
    
    boolean add(Job job);
    
    boolean update(Job job);
    
    boolean deleteById(Long id);
    
    boolean updateStatus(Long id, String status);
    
    long count();
    
    List<Job> findLatest(int limit);
    
    long countByStatus(String status);
} 